1
00:00:00,170 --> 00:00:05,830
Drawing Trend Lines 2 .0 In line with
the previous point, as we have

2
00:00:06,110 --> 00:00:10,230
it is very important that we draw the
lines that will identify the price

3
00:00:10,230 --> 00:00:11,870
in the most correct way possible.

4
00:00:12,550 --> 00:00:17,170
Many traders, especially the less
experienced ones, may sometimes find it

5
00:00:17,170 --> 00:00:18,590
difficult to do this successfully.

6
00:00:18,950 --> 00:00:21,890
One tool that can help us is the linear
regression channel.

7
00:00:22,450 --> 00:00:26,650
Linear regression is a statistical
concept that tries to predict a variable

8
00:00:26,650 --> 00:00:28,610
depending on the historical value of
another.

9
00:00:29,420 --> 00:00:34,140
The linear regression channel is made up
of three lines. The central one, which

10
00:00:34,140 --> 00:00:38,120
is the trend regression line created
according to the least squares method,

11
00:00:38,120 --> 00:00:41,920
two standard deviations that establish
the upper and lower lines.

12
00:00:42,280 --> 00:00:46,580
The TradingView platform offers this
tool in the second menu of the panel

13
00:00:46,580 --> 00:00:51,080
located on the left, where the trend
lines are located, and just at the

14
00:00:51,080 --> 00:00:54,940
of this option drop -down. The way to
properly plot this type of regression

15
00:00:54,940 --> 00:00:59,860
channel is to identify the high and low
of a full movement or swing, and anchor

16
00:00:59,860 --> 00:01:03,400
the trend line that is generated by
clicking on the tool between these

17
00:01:04,120 --> 00:01:09,320
As we can see on the screen, two trend
lines will automatically be generated,

18
00:01:09,320 --> 00:01:13,540
upper one corresponding to the positive
deviation of the regression line and a

19
00:01:13,540 --> 00:01:15,800
lower one corresponding to the negative
deviation.

20
00:01:16,600 --> 00:01:20,120
If we double -click on these lines, we
can change their configuration.

21
00:01:20,780 --> 00:01:25,000
The key to these regression channels is
that they must include most of the price

22
00:01:25,000 --> 00:01:27,960
action, just like the line drawing we
explained earlier.

23
00:01:28,400 --> 00:01:31,800
and to ensure this, we can change the
configuration of the parameters.

24
00:01:32,180 --> 00:01:38,400
I personally recommend using a setting
between 1 .5 and 1 .75 plus or minus.

25
00:01:38,860 --> 00:01:44,120
In the examples we'll be looking at, the
deviation is set to 1 .5 and negative 1

26
00:01:44,120 --> 00:01:49,480
.5 as it seems to me to adequately cover
about 95 % of the price action.

27
00:01:50,540 --> 00:01:54,220
Regarding the source, this refers to the
prices that you will use.

28
00:01:54,460 --> 00:01:57,240
My recommendation here is to leave it at
closing prices.

29
00:01:57,710 --> 00:02:01,670
to avoid the variability that other
types of prices can produce due to their

30
00:02:01,670 --> 00:02:05,930
constant change in real time in the
style tab of the tool configuration

31
00:02:05,930 --> 00:02:10,389
you can change the color this also
allows you to extend the future lines to

32
00:02:10,389 --> 00:02:14,490
infinity so that you can check in real
time if the market continues to respect

33
00:02:14,490 --> 00:02:19,550
the dynamic keep in mind that regarding
the drawing of lines beyond using them

34
00:02:19,550 --> 00:02:23,270
to provide us with potential trading
zones for consideration which we will

35
00:02:23,270 --> 00:02:28,180
about later Another main use is to
determine the end of the directional

36
00:02:28,180 --> 00:02:33,280
the short term as an input to begin to
predict a possible market reversal and a

37
00:02:33,280 --> 00:02:34,680
potential reverse trading opportunity.

38
00:02:35,180 --> 00:02:39,480
In other words, we already know that we
always want to trade in the direction of

39
00:02:39,480 --> 00:02:40,580
the prevailing market dynamic.

40
00:02:40,900 --> 00:02:45,260
In this case, if the market is falling,
we are only going to look for short

41
00:02:45,260 --> 00:02:48,600
trades, and in the event we are looking
for a possible purchase operation

42
00:02:48,600 --> 00:02:52,710
because we expect a bullish turn, we
should at least wait for the bearish

43
00:02:52,710 --> 00:02:54,990
dynamic that the market is following to
be broken.

44
00:02:55,690 --> 00:03:00,190
Anything other than that would
exponentially increase the risk of

45
00:03:00,190 --> 00:03:03,270
we would be entering against the
direction in which the market is

46
00:03:03,270 --> 00:03:07,690
unbalanced. This is the minimum key sign
that we should expect to see.

47
00:03:08,550 --> 00:03:13,330
This style tab also allows us to access
other information, such as the Pearson

48
00:03:13,330 --> 00:03:14,590
Correlation Coefficient.

49
00:03:15,040 --> 00:03:18,760
which shows us in numerical and
quantitative terms the degree of

50
00:03:18,760 --> 00:03:23,340
that exists between the two variables,
which we know are the start and end

51
00:03:23,340 --> 00:03:26,060
prices to which we have anchored the
channel in this case.

52
00:03:26,780 --> 00:03:31,420
This coefficient varies between negative
1 and 1 and reflects the degree of

53
00:03:31,420 --> 00:03:36,020
association between two variables, where
a value of 1 indicates a perfectly

54
00:03:36,020 --> 00:03:40,460
positive correlation, a value of
negative 1 indicates a perfectly

55
00:03:40,460 --> 00:03:44,320
correlation, and a value of 0 indicates
no correlation.

56
00:03:45,070 --> 00:03:49,590
For this example, if we look closely, we
can see that the degree of correlation

57
00:03:49,590 --> 00:03:55,510
is 0 .88, very close to 1, which
suggests that the channel drawn on the

58
00:03:55,510 --> 00:03:57,270
very closely represents reality.

59
00:03:58,150 --> 00:04:02,250
The way to create and manage the drawing
of these regression channels is simple.

60
00:04:02,790 --> 00:04:06,650
First of all, we are going to talk about
how to define the initial outline of

61
00:04:06,650 --> 00:04:07,650
the channel.

62
00:04:07,690 --> 00:04:11,410
Later, we will address the most logical
way to modify said outline.

63
00:04:11,710 --> 00:04:15,650
For the initial creation of the linear
regression channel, we are going to

64
00:04:15,650 --> 00:04:19,970
use the concept of pivot generation,
through which we objectively determine

65
00:04:19,970 --> 00:04:23,630
creation of a pivot when the market
develops two candlesticks above and

66
00:04:23,630 --> 00:04:24,630
the last limit.

67
00:04:25,130 --> 00:04:29,090
As soon as we confirm the appearance of
a pivot, we can begin to draw a

68
00:04:29,090 --> 00:04:32,190
regression channel on it and in the
direction of the subsequent movement.

69
00:04:33,050 --> 00:04:36,070
Let's imagine that we are currently on
the chart and that we have launched a

70
00:04:36,070 --> 00:04:38,090
regression channel from the high to the
low.

71
00:04:38,630 --> 00:04:41,750
At what point are we going to modify the
endpoint of the channel?

72
00:04:42,210 --> 00:04:45,950
Well, right at the point when the price
hits a low that is lower than the

73
00:04:45,950 --> 00:04:46,669
current one.

74
00:04:46,670 --> 00:04:51,550
At that precise moment, when the price
develops a new low, we must change the

75
00:04:51,550 --> 00:04:53,510
endpoint of the bearish regression
channel.

76
00:04:54,010 --> 00:04:57,490
This is the rule that we should always
use for modifying the length of the

77
00:04:57,490 --> 00:05:02,170
channel. We should maintain the same
start and end point until the price hits

78
00:05:02,170 --> 00:05:03,170
new high or low.

79
00:05:03,430 --> 00:05:05,710
Could we draw a channel between those
two points?

80
00:05:06,050 --> 00:05:10,030
Absolutely. At this moment, we have the
maximum pivot point confirmed.

81
00:05:10,570 --> 00:05:14,610
So if you are looking for a potential
entry to sell right in that zone, an

82
00:05:14,610 --> 00:05:17,430
essential filter would be seeing the
break in that bullish dynamic.

83
00:05:18,150 --> 00:05:22,550
To do this, what I recommend here is
going down to a shorter time frame to

84
00:05:22,550 --> 00:05:23,850
better visualize the dynamic.

85
00:05:24,450 --> 00:05:28,990
This is because if we establish the
start and end in the same time frame,

86
00:05:28,990 --> 00:05:32,630
channel will be too narrow and we won't
be able to draw any clear conclusions.

87
00:05:33,630 --> 00:05:37,370
There, we see what the bullish
regression channel created from the low

88
00:05:37,370 --> 00:05:39,510
high on a lower time frame would look
like.

89
00:05:39,920 --> 00:05:44,260
As we can see, it enables us to very
precisely identify the edges of the

90
00:05:44,260 --> 00:05:47,000
channel, so we can definitely use this
to our advantage.

91
00:05:47,880 --> 00:05:51,860
Often, this movement, which we would
treat in principle as simply a bullish

92
00:05:51,860 --> 00:05:56,360
correction, will not actually be a
correction, but will instead continue to

93
00:05:56,360 --> 00:05:58,840
advance increasingly in line with the
bullish dynamic.

94
00:05:59,580 --> 00:06:03,680
Establishing this filter before reverse
trading is tremendously useful for our

95
00:06:03,680 --> 00:06:04,499
decision making.

96
00:06:04,500 --> 00:06:06,020
Let's continue with the example.

97
00:06:06,500 --> 00:06:10,860
Once the price has developed that lowest
pivot point, we can start to use this

98
00:06:10,860 --> 00:06:13,220
to anchor a new bullish regression
channel to it.

99
00:06:13,720 --> 00:06:18,800
As the price develops, it hits a maximum
pivot point, so we use this to anchor

100
00:06:18,800 --> 00:06:19,800
the end of the channel.

101
00:06:20,020 --> 00:06:21,180
But up to what point?

102
00:06:21,700 --> 00:06:24,340
Until the market hits a new high, as in
the example.

103
00:06:25,140 --> 00:06:28,760
After that point, we will wait once more
for the price to hit a new maximum

104
00:06:28,760 --> 00:06:31,960
pivot point on which to anchor the end
of the bullish channel.

105
00:06:32,480 --> 00:06:36,620
The market continues to move, zigzagging
back and forth constantly.

106
00:06:37,290 --> 00:06:41,110
If we continue with this type of line
drawing using the linear regression

107
00:06:41,290 --> 00:06:43,030
we should see something like this.

108
00:06:43,910 --> 00:06:47,670
Let's now look at another important
factor that can emerge in the market.

109
00:06:48,430 --> 00:06:52,270
Imagine we are at this moment, on the
last candlestick on the chart.

110
00:06:52,690 --> 00:06:57,210
At this point, we are seeing a major
bullish movement from the last major low

111
00:06:57,210 --> 00:06:58,630
the high shown in the example.

112
00:06:59,390 --> 00:07:03,630
But as we can see, the price broke out
at the bottom and then reversed again.

113
00:07:04,160 --> 00:07:06,880
generating a new, well -channeled upward
movement.

114
00:07:07,560 --> 00:07:11,580
Which of the two regression channels
should we consider to be more accurate

115
00:07:11,580 --> 00:07:12,580
therefore use?

116
00:07:12,620 --> 00:07:17,160
Well, as we discussed with respect to
the traditional drawing of lines, it

117
00:07:17,160 --> 00:07:21,120
should be the market that tells us which
of them best defines the current market

118
00:07:21,120 --> 00:07:25,900
context. Since both of them are
currently in force, it will have to be

119
00:07:25,900 --> 00:07:26,900
by the market.

120
00:07:27,300 --> 00:07:31,960
The key here is to be clear at what
point we need to mark a new end of the

121
00:07:31,960 --> 00:07:32,960
bullish channel.

122
00:07:33,080 --> 00:07:36,800
And as we know, this will be when the
breakout of the last high occurs.

123
00:07:37,440 --> 00:07:42,060
If the price rises above that high, we
will wait for the generation of a new

124
00:07:42,060 --> 00:07:46,020
maximum pivot point and we will mark the
end of the bullish regression channel

125
00:07:46,020 --> 00:07:48,660
there. And this is what would eventually
happen.

126
00:07:49,280 --> 00:07:53,860
Once the price breaks that last high, we
can discard the previous short -term

127
00:07:53,860 --> 00:07:57,820
dynamic and look at the entire movement
as one at the aggregate level.

128
00:07:59,260 --> 00:08:03,940
As we see, by including all of the
latest price action, the slope of the

129
00:08:03,940 --> 00:08:07,940
flattens out to adjust for all the
fluctuations that took place from the

130
00:08:08,260 --> 00:08:13,060
We already know that trends can
continually change phases and go from

131
00:08:13,060 --> 00:08:17,060
more or less steep slope to another
context with a different representation.

132
00:08:18,320 --> 00:08:22,780
What this method means is that we are
relying on statistical approaches that

133
00:08:22,780 --> 00:08:26,440
use objectively, and this adds greater
validity to our analysis.

134
00:08:26,720 --> 00:08:32,250
In case you're curious, The price in the
example is that of the SP500 futures

135
00:08:32,250 --> 00:08:36,970
market, and this is the current context
where it appears to have broken the

136
00:08:36,970 --> 00:08:40,150
bearish structural dynamic that it had
been following in recent months.

137
00:08:40,630 --> 00:08:44,250
Does this mean that it is definitely
going to return to a bullish path?

138
00:08:44,470 --> 00:08:45,470
Of course not.

139
00:08:45,570 --> 00:08:49,690
The fact that the bearish structure has
broken upwards does not mean that in the

140
00:08:49,690 --> 00:08:53,270
medium or long term, the market will hit
new all -time highs.

141
00:08:53,910 --> 00:08:58,470
This fact simply informs us that in the
short term, control seems to be on the

142
00:08:58,470 --> 00:09:02,610
buyer's side. And this sign should be
the minimum input that we are going to

143
00:09:02,610 --> 00:09:05,530
require from the market before assessing
a potential opportunity.

144
00:09:05,850 --> 00:09:10,010
Even if that happens, we cannot rule out
the possibility that the price may

145
00:09:10,010 --> 00:09:11,850
continue to fall again after a while.

146
00:09:12,350 --> 00:09:15,270
We already know that anything is
possible in the market.

147
00:09:15,590 --> 00:09:19,690
We are now going to compare this way of
drawing lines to identify the market

148
00:09:19,690 --> 00:09:23,790
dynamic versus the traditional way as
prescribed by the technical analysis

149
00:09:23,790 --> 00:09:24,790
approach.

150
00:09:25,390 --> 00:09:28,870
For the purpose of what we are trying to
achieve by drawing lines the

151
00:09:28,870 --> 00:09:32,990
traditional way, which looks at the
precise point of contact in millimetric

152
00:09:32,990 --> 00:09:36,190
detail, does not offer us the same
degree of confidence.

153
00:09:36,770 --> 00:09:41,030
As previously mentioned, one of our main
goals when drawing trend lines is to

154
00:09:41,030 --> 00:09:45,330
identify the current market trend and to
know as soon as possible when there has

155
00:09:45,330 --> 00:09:49,450
been a change in said dynamic, so we can
start looking for opportunities in the

156
00:09:49,450 --> 00:09:51,250
opposite direction if we so decide.

157
00:09:52,140 --> 00:09:55,460
Take a look at the difference between
the different ways in which the lines

158
00:09:55,460 --> 00:09:56,379
been drawn.

159
00:09:56,380 --> 00:10:01,820
As every manual tells us, we have used
the two lows to initiate the uptrend and

160
00:10:01,820 --> 00:10:03,900
two highs to anchor the downtrend.

161
00:10:04,300 --> 00:10:09,080
Were we to rely on these to identify the
end of the trend, we would be too late.

162
00:10:09,400 --> 00:10:13,940
On the other hand, if we use linear
regression, we can quickly adapt to the

163
00:10:13,940 --> 00:10:15,180
slightest change in the market.

164
00:10:15,920 --> 00:10:19,820
Since what we are interested in
identifying is the dynamic that the

165
00:10:19,820 --> 00:10:24,110
following, The use of regression
channels is undoubtedly much more

166
00:10:24,310 --> 00:10:27,550
above all and fundamentally because it
is totally objective.

